﻿package Common 
{
	import Base.Net.NetSocket;
	
	/**
	 * ...
	 * @author fox
	 */
	public class GameNetManager 
	{
		private var mainNetSocket:NetSocket = null;
		
		public function get MainNetSocket():NetSocket
		{
			return mainNetSocket;
		}
		
		
		public function GameNetManager() 
		{
			
		}
		
		public function init():void
		{
			mainNetSocket = new NetSocket();
		}
		
		public static var instance:GameNetManager = null;
		public static function Instance():GameNetManager
		{
			if ( instance == null )
			{
				instance = new GameNetManager();
			}
			
			return instance;
		}
		
		
		public function release():void
		{
			
		}
		
		
	}
	
}